net/designware: call phy_connect_dev() to properly setup phylib device
authorIan Campbell <[email protected]>
Mon, 28 Apr 2014 19:14:05 +0000 (20:14 +0100)
committerTom Rini <[email protected]>
Mon, 12 May 2014 20:31:51 +0000 (16:31 -0400)
commit15e82e5309ed706fa2878aed3b225aa48ae960c7
tree533b46f810b02e173824842c4079d9469921443f
parent1b37fa832a4b1d525348ff49c9f6951c73bc145a
net/designware: call phy_connect_dev() to properly setup phylib device

This sets up the linkage from the phydev back to the ethernet device. This
symptom of not doing this which I noticed was:
    <NULL> Waiting for PHY auto negotiation to complete....
rather than:
    dwmac.1c50000 Waiting for PHY auto negotiation to complete....

Signed-off-by: Ian Campbell <[email protected]>
Cc: Alexey Brodkin <[email protected]>
drivers/net/designware.c